package com.douban.utils
{
	public class DoubanConfig
	{
		public function DoubanConfig()
		{
		}
		
		private static var doubanConfig:DoubanConfig;
		
		public static function getInstance():DoubanConfig{
			if(null == doubanConfig)doubanConfig = new DoubanConfig;
			return doubanConfig;
		}
		
		public var consumerKey:String = '06e6add1f161d68b14b40975d42583a1';
		
		public var consumerSecret:String = '50fe29a57c088464';
		
		public var accessTokenKey:String = '';
		
		public var accessTokenSecret:String = '';
		
		public var dataFormat:String = 'json';
		
		public var hasSuffix:Boolean = false;
		
		public var baseURL:String = "http://api.douban.com/";
		
		public const HMACSHA1:String = "HMAC-SHA1";
		
		public const HMACSHATYPE:String = "sha1";
		
		public const oauthVersion:String = "1.0";
		
		public var requestTokenURL:String = 'http://www.douban.com/service/auth/request_token';
		
		public var accessTokenURL:String = 'http://www.douban.com/service/auth/access_token';
		
		public var authorizeURL:String = 'http://www.douban.com/service/auth/authorize';
		
		public var username:String = '';
		
		public var password:String = '';
	}
}